package com.oocl.pojo;

import java.util.Date;

public class Orders {
	private String id;
	private String userId;
	private String bookId;
	private int count;
	private Date createTime;
	public Orders(String id, String userId, String bookId, int count,
			Date createTime) {
		super();
		this.id = id;
		this.userId = userId;
		this.bookId = bookId;
		this.count = count;
		this.createTime = createTime;
	}
	
	public Orders() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getBookId() {
		return bookId;
	}

	public void setBookId(String bookId) {
		this.bookId = bookId;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "Orders [id=" + id + ", userId=" + userId + ", bookId=" + bookId
				+ ", count=" + count + ", createTime=" + createTime + "]";
	}
	
	
}
